<?php
// +---------------------------------------------------------------------------------
// | ECODE [ 打造一个插拔式的、不写重复、具备生我生成代码能力的]
// +---------------------------------------------------------------------------------
// | Copyright (c) 2017 ECODE All rights reserved.
// +---------------------------------------------------------------------------------
// | Author: 鬼谷子 <majianwei168@outlook.com>
// +---------------------------------------------------------------------------------
namespace app\admin\controller;
class System extends Base
{
    public function index()
    {
        $model = \think\Loader::model('System','logic');
        $data = $model->menuList();
        dump($data);die;
        $data = array('title' => '权限管理36363666', 'icon' => 'icon-arry', 'pid'=>0, 'url'=>'', 'is_hide'=> 0, 'sort'=>40, 'is_delete'=>1, 'status'=>0);
        $res  = $model->menu(18);
        dump($res);
    }


    public function menu()
    {
        
        return $this->fetch();
    }

    public function menuEdit()
    {

    }

    public function menuDel()
    {

    }


}